<?php
//tgtinfo-design.php scripts and shortcodes for the marketing website

//init for shortcodes
add_action('init','tgtinfo_design_sc');
// CSS for Design V2
add_action('wp_enqueue_scripts','mct_ai_insertcss');

function tgtinfo_design_sc(){
    add_shortcode('tgtinfo_header','tgtinfo_header');
    add_shortcode('tgtinfo_banner','tgtinfo_banner');
    add_shortcode('tgtinfo_feature','tgtinfo_feature');
    add_shortcode('tgtinfo_callout','tgtinfo_callout');
    add_shortcode('tgtinfo_content','tgtinfo_content');
    add_shortcode('tgtinfo_pricing','tgtinfo_pricing');
    add_shortcode('tgtinfo_banner_small','tgtinfo_banner_small');
    add_shortcode('insert_gravatar','tgtinfo_gravatar');
    add_shortcode('tgtinfo_purchase','tgtinfo_purchasebox');
    //Notebook version
    add_shortcode('tgtinfo_banner_nb','tgtinfo_banner_nb');
    add_shortcode('tgtinfo_feature_nb','tgtinfo_feature_nb');
    add_shortcode('tgtinfo_usecase','tgtinfo_usecase');
    add_shortcode('tgtinfo_bloghdr','tgtinfo_bloghdr');
    
}

function mct_ai_insertcss() {
/* $pages = array(
        'new-landing-page',
        'training-videos',
        'mycurator',
        'contact-us',
        'documentation-2',
        'pricing'
    );
    if (!is_page($pages) && !is_home() && !is_single()) return;
*/
    $cnt = 1;
    if (is_page(array('new_landing_page','mycurator'))) $cnt = 2;
    
    $style = plugins_url('css/main.css',__FILE__);
    wp_register_style('ti_landing',$style,array(),'1.0.0');
    wp_enqueue_style('ti_landing');
    wp_enqueue_script('ti_landingjs',plugins_url('js/main.js',__FILE__),array('jquery'));
    wp_register_style('ga_dosis','http://fonts.googleapis.com/css?family=Dosis:400,500,600,700');
    wp_register_style('ga_dosis','http://fonts.googleapis.com/css?family=Archivo+Black');
    wp_enqueue_style('ga_dosis');
    $params = array (
        'banners' => $cnt
    );
    wp_localize_script('ti_landingjs', 'ti_landingjs', $params);
}
//shortcodes for html blocks
function tgtinfo_header() {
    $src = plugins_url('images/logo.png',__FILE__);
      ?>
    <div class="header">
    <div class="logo"><a href="<?php echo site_url(); ?>"><img src="<?php echo $src;?>"/></a></div>
    <div class="heading"><h2>MyCurator®</h2>
    <h3>WordPress Plugin</h3></div>
    </div>
      <?php
}
function tgtinfo_banner() {
   $src = plugins_url('images/tick.png',__FILE__);
   $button = plugins_url('images/download-button.png',__FILE__);
      ?>
    <div class="line-divider"></div>
    <div class="banner"><div class="banner-content">
    <div class="banner-left">
    <h2>MyCurator</h2>
    <p>Professional Content Curation Software for WordPress</p>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Pipeline of Content ready when you are </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Fully Integrated with WordPress  </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;High Volume Curation </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Customize to your Niche </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Selective Auto-Post </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Bookmarklet for Browsing </div>

    <div class="banner-button"><a href="http://downloads.wordpress.org/plugin/mycurator.zip"  onclick="_gaq.push(['_trackEvent', 'Download', 'home']);"><img src="<?php echo $button;?>" width="296" height="53" alt="download" /></a></div>
     </div>
    <div class="banner-right">
    <iframe width="470" height="315" src="http://www.youtube.com/embed/-5_3kK2YOcI?rel=0" frameborder="0" allowfullscreen></iframe>
    </div>
    </div></div>
    <div class="line-divider"></div>

      <?php    
}
function tgtinfo_feature() {
    $button = plugins_url('images/download-button.png',__FILE__);
      ?>
    <div class="features"> 
    <h3>Features</h3>
    <div class="feature one">
    <p>MyCurator works tirelessly in the background delivering a pipeline of content to you throughout the day, ready for your curation.</p>
    </div>

    <div class="feature two">
    <p>Integrated into WordPress Editor with a curated article's attribution, full text and images - "Click to Copy" quotes and images from the article.</p>
    </div>

    <div class="feature three">
    <p>Easily handle 100's of articles a day and multiple writers, categories and sites with Quick post and bulk curation tools.</p>
    </div>

    <div class="feature four">
    <p>Customize to your specific niche by choosing what sources to read and what to look for in each article, and then train MyCurator for even more accuracy.</p>
    </div>

    <div class="feature five">
    <p>Selective Auto-Post capability uses AI process to deliver highly targeted, quality articles to your community.</p>
    </div>

    <div class="feature six">
    <p>Bookmarklet to grab content as you browse, special video curation features and MyCurator finds articles in any language.</p>
    </div>
    </div>

    <div class="page-divider"></div>

    <div class="cat-intro">Sign up for your API Key after you install - No risk free and trial plans with no credit card needed</div>
    <div class="bottom-cat"><a href="http://downloads.wordpress.org/plugin/mycurator.zip"  onclick="_gaq.push(['_trackEvent', 'Download', 'home']);"><img src="<?php echo $button;?>" width="296" height="53" alt="Download" /></a></div>
      <?php    
}
function tgtinfo_callout() {
      ?>
    <div class="testimonials"><div class="testimonials-content">
            <h2>What our Clients are Saying about MyCurator</h2>
            <?php 
          $posts = get_posts(array('post_type' => 'mct_testimonial','numberposts' => 3, 'orderby' => 'rand'));
          foreach ($posts as $post) {
              echo '<p>'.$post->post_content.'</p>';
          }
            ?>
    </div>
    </div>
      <?php    
}
function tgtinfo_content() {
    $site= site_url();
      ?>
    <div class="bottom-content1">
    <div class="text">
    <h3>Explore the Power of Notebooks for Content Creation</h3>
    <p>
    MyCurator Notebooks are a powerful tool to enhance your curated posts and write original articles.  Like Evernote, 
    only integrated into WordPress, you can save the best posts and articles you find on the web. In the WordPress editor you can easily review the full text and add quotes from the 
    material in your Notebooks with our Click-Copy feature.  Watch the video to see how 
    easy it is research original articles and create complex curated posts.</p>
    </div>
    <div class="video-container" style="margin-top: 20px" onclick="_gaq.push(['_trackEvent','Media', 'notebk']);">
    <iframe width="315" height="236" src="//www.youtube.com/embed/jxHqDGhv-2Q?rel=0" frameborder="0" allowfullscreen></iframe> 
    </div>
    <div class="text">
    <h3>Review the advanced features of MyCurator</h3>
    <p>
    MyCurator is professional content curation software and can handle 100's of articles a day with multiple writers, categories and sites.
     Special video curation features, bulk curation tools and selective auto-posting support a wide range of requirements.  
     You can use MyCurator on non-english language sites.  Watch the quick video to review these and other features.</p>
    </div>
    <div class="video-container" style="margin-top: 20px" onclick="_gaq.push(['_trackEvent','Media', 'feature']);">
    <iframe width="315" height="236" src="//www.youtube.com/embed/pG2SA4Hbg3I?rel=0" frameborder="0" allowfullscreen></iframe>   
    </div>
    </div>
    <div class="page-divider"></div>

    <div class="bottom-content2">
    <div class="text-left"><h3>Get Started with MyCurator Now!</h3>
    <p>
    <a href="http://downloads.wordpress.org/plugin/mycurator.zip"  onclick="_gaq.push(['_trackEvent', 'Download', 'bottom']);">Download</a>
    and install MyCurator like any WordPress plugin. Our <a href="<?php echo $site; ?>/training-videos/" >Quick Start</a> video will walk you through how easy it is to 
    begin curating your first articles. We also have a complete set of <a href="<?php echo $site; ?>/training-videos/" >Training Videos</a>
    as well as <a href="<?php echo $site; ?>/documentation-2/">Documentation</a>.  You can also visit our 
    <a href="http://wordpress.org/support/plugin/mycurator" target="_blank">Support Forum</a> at WordPress.
    </p>
    <p>
    Our Free Individual Plan is a great way to get started with Content Curation.  For those who are ready to curate multiple topics or multiple sites,
    our Pro and Business Plans have a low monthly fee and you can get started with a free 30 day Trial.  See our 
    <a href="<?php echo $site; ?>/pricing/">Pricing</a> for more details - and you can grab your API Key there now, or as part of the installation process.
    </p>


    </div>
    <div class="text-right"><h3>Content Curation leads to Content Creation</h3>

    <p>
    <a href="http://www.target-info.com/content-curation-leads-to-content-creation/" onclick="_gaq.push(['_trackEvent', 'Media', 'article']);"><img class="alignleft size-thumbnail wp-image-2031" alt="Content Curation leads to Content Creation" src="http://www.target-info.com/wp-content/uploads/2013/03/7666429692_da19e620dc-150x150.jpg" width="150" height="150" /></a>
    <p>You know you need to start writing content for that new marketing site or blog, as well as your social media accounts.  
        But that’s not something you’ve done in a while, especially creative, interesting articles that would interest your clients or community.</p>
    <p>
    If you make content curation a process, a practice, it can lead to you becoming a writer, or a better writer...  
     <a href="http://www.target-info.com/content-curation-leads-to-content-creation/" onclick="_gaq.push(['_trackEvent', 'Media', 'article']);">Read More >></a>
    </p>    
    </div>
    </div>

      <?php    
}

function tgtinfo_pricing() {
   $src = plugins_url('images/tick.png',__FILE__);
   $button = plugins_url('images/download-button.png',__FILE__);
   $site= site_url();
      ?>
    <div class="line-divider"></div>
    <div class="banner" id="price-banner"><div class="banner-content">
    <div class="pricing">
    <div class="pricing-left">
    <h2 title="Discover articles from a variety of sources and curate them for your niche or focus">Individual Plan</h2>
    <p title="Discover articles from a variety of sources and curate them for your niche or focus">A great way to get started with Content Curation</p>
    <div class="selling-point" title="1 Topic can provide a lot of curated content to a single Category on your site">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;1 Topic of Curated Content </div>
    <div class="selling-point" title="May only be used on one site controlled by the same individual, company or other entity">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Single Site Only* </div>
    <div class="selling-point" title="Each Notebook can store articles found by MyCurator and those you find on the web - great for researching new articles">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;2 Notebooks </div>
    <div class="selling-point" title="No credit card needed!">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Free - No Monthly Fee </div>
    <div class="selling-point" title="Click the Free Individual Key button below, fill in the form and you'll get an email with your API Key and a download link to MyCurator">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Get started now! </div>
        <div class="banner-button" id="pricing" onclick="_gaq.push(['_trackEvent', 'Plans', 'individual']);"><a href="<?php echo $site;?>/individual-plan-key/">FREE INDIVIDUAL KEY</a></div>
    </div>
    <div class="pricing-center">
    <h2 title="Curate content for a variety of interests and news">Pro Plan</h2>
    <p title="Curate content for a variety of interests and news">Expand to 2 sites and multiple Topics</p>
    <div class="selling-point" title="8 Topics can provide a wide range of curated content to 8 different categories on your site">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Up to 8 Topics of Curated Content </div>
    <div class="selling-point" title="Use on 2 sites controlled by the same individual, company or other entity">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Use on 2 Sites </div>
    <div class="selling-point" title="Each Notebook can store articles found by MyCurator and those you find on the web - great for researching new articles">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Unlimited Notebooks </div>
    <div class="selling-point" title="Use your Credit Card or Paypal account - cancel any time!">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Only $10 per Month </div>
    <div class="selling-point" title="No Credit Card Needed - Click the Pro Trial Key button below, fill in the form and you'll get an email with your API Key and a download link to MyCurator">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Start with a Free 30 day Trial </div>

    <div class="banner-button"  id="pricing" onclick="_gaq.push(['_trackEvent', 'Plans', 'pro']);"><a href="<?php echo $site;?>/pro-plan-trial-key/">PRO TRIAL KEY</a></div>

    </div>

    <div class="pricing-right">
    <h2  title="For online media, businesses and content aggregators">Business Plan</h2>
    <p title="For online media, businesses and content aggregators">High Volume Curation over multiple sites</p>
    <div class="selling-point" title="Unlimited Topics for media sites, multi-author sites and businesses">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Unlimited Topics of Curated Content </div>
    <div class="selling-point" title="Use on 6 sites controlled by the same individual, company or other entity">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Up to 6 Sites </div>
    <div class="selling-point"  title="Each Notebook can store articles found by MyCurator and those you find on the web - great for researching new articles">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Unlimited Notebooks </div>
    <div class="selling-point" title="Use your Credit Card or Paypal account - cancel any time!">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Only $30 per Month </div>
    <div class="selling-point" title="No Credit Card Needed - Click the Business Trial Key button below, fill in the form and you'll get an email with your API Key and a download link to MyCurator">
        <img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Start with a Free 30 day Trial </div>
    <div class="banner-button"  id="pricing" onclick="_gaq.push(['_trackEvent', 'Plans', 'business']);"><a href="<?php echo $site;?>/business-plan-trial-key/">BUSINESS TRIAL KEY</a></div>

    </div>
    </div>
    </div></div>
    <div class="line-divider"></div>

      <?php    
}

function tgtinfo_banner_small() {
   $src = plugins_url('images/tick.png',__FILE__);
   $button = plugins_url('images/download-button.png',__FILE__);
   $forum = plugins_url('images/support-forum.png',__FILE__);
      ?>
    <div class="line-divider"></div>
    <div class="banner" id="small"><div class="banner-content">
    <div class="banner-left" id="small">
    <h2>MyCurator Makes it Easier to Build Quality Content for Your Site</h2>
    <p><strong>Features to support you from content curation to writing original articles</strong></p>
    
    <div class="banner-button"><a href="http://downloads.wordpress.org/plugin/mycurator.zip"  onclick="_gaq.push(['_trackEvent', 'Download', 'other']);"><img src="<?php echo $button;?>" width="296" height="53" alt="download" /></a></div>
     </div>
    <div class="banner-right" id="small">
    <?php if (is_page('about') || is_home()) {
        $cat = get_cat_ID('Articles');
        $args = array( 'numberposts' => 1, 'orderby' => 'rand', 'category' => $cat );
        $rand_posts = get_posts( $args );
        foreach( $rand_posts as $post ) { ?>
            <a href="<?php echo get_permalink($post->ID); ?>"><?php echo get_the_post_thumbnail($post->ID,'thumbnail'); ?></a><br>
            <a href="<?php echo get_permalink($post->ID); ?>"><?php echo get_the_title($post->ID); ?></a>
        <?php }
    } else { ?>
        <a href="http://wordpress.org/support/plugin/mycurator" target="_blank"><img src="<?php echo $forum;?>" /></a>
        <p>Visit our Support Forum at <a href="http://wordpress.org/support/plugin/mycurator" target="_blank">WordPress.Org</a></p>
    <?php } ?>
    </div>
    </div></div>
    <div class="line-divider"></div>

      <?php    
}

function tgtinfo_gravatar(){
    return get_avatar( 'mtilly@target-info.com', 75 ); 
}

function tgtinfo_purchasebox() {
    global $current_user;
    
    get_currentuserinfo();
    $plan = get_user_meta($current_user->ID,'tgtinfo_plan',true);
    $maxnb = get_user_meta($current_user->ID,'tgtinfo_max_notebk',true);
    
      ?>
    <div class="line-divider"></div>
    <div class="banner" id="price-banner"><div class="banner-content">
    <div class="pricing">
    <?php 
    $trial = stripos($plan,'trial');
    if (stripos($plan,'ind') !== false || $trial) { 
            if ($maxnb == 0) $trial = true; //Already purchased unlimited notebooks, so just show Pro/Bus plans
            tgtinfo_purchaseind($trial);
    } else { 
        if (stripos($plan,'pro') !== false) tgtinfo_purchasepro();
        if (stripos($plan,'bus') !== false) tgtinfo_purchasebus();
    }
    ?>
    </div>
    </div></div>
    <div class="line-divider"></div>

      <?php    
}

function tgtinfo_purchaseind($trial) {
    $src = plugins_url('images/tick.png',__FILE__);
    $button = plugins_url('images/download-button.png',__FILE__);
    $site= site_url();
    if (!$trial) {
    ?>
    <div class="pricing-left">
   <h2>Add Unlimited Notebooks to your Individual Plan</h2>
    <p>Expand your ability to research and save articles</p>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Unlimited Notebooks </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;No Additional Topics</div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Use Pro or Business Plan to increase Topics too </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Only $25 One Time Fee! </div>
        <div class="banner-button"  id="pricing" ><a href="<?php echo $site;?>/add-unlimited-notebooks/">ADD NOTEBOOKS</a></div>

    </div>
    <?php     }  //end !$trial ?>
    <div class="pricing-center">
    <?php
    if ($trial) {
        echo "<h2>Curate a range of Topics with the Pro Plan</h2>";
        echo "<p>Power 2 sites with SEO building content curation!</p>";
    } else {
        echo "<h2>Expand your Curation with the Pro Plan</h2>";
        echo "<p>Add another site and more curation Topics!</p>";
    } ?>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Up to 8 Topics of Curated Content </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Use on 2 Sites </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Unlimited Notebooks </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Only $10 per Month </div>
    
    <div class="banner-button"  id="pricing" ><a href="<?php echo $site;?>/pro-plan-subscription/">PRO PLAN</a></div>
    </div>
    <div class="pricing-right">
   <h2>Professional Curation with the Business Plan</h2>
    <p>Power all of your sites with high-volume curation!</p>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Unlimited Topics of Curated Content </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Includes 6 Sites</div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Unlimited Notebooks </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Only $30 per Month </div>
        <div class="banner-button"  id="pricing" ><a href="<?php echo $site;?>/business-plan-subscription/">BUSINESS PLAN</a></div>

    </div>

    <?php
}

function tgtinfo_purchasepro() {
    $src = plugins_url('images/tick.png',__FILE__);
    $button = plugins_url('images/download-button.png',__FILE__);
    $site= site_url();
    ?>
    <div class="purchase-left">
    <h2>Professional Curation with the Business Plan</h2>
    <p>Power all of your sites with high-volume curation!</p>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Unlimited Topics of Curated Content </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Includes 6 Sites - Volume discounts for additional sites</div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Priority support and consultation </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Only $30 per Month </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;We will Cancel your Pro Plan and refund last payment </div>
        <div class="banner-button"  id="pricing" ><a href="<?php echo $site;?>/business-plan-subscription/">BUSINESS PLAN</a></div>

    </div>
    <div class="purchase-center">
   <h2>Enterprise Support and Consulting</h2>
    <p>Complete support for your Business Requirements</p>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Volume Discounts on Multiple Sites </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;White Label Version of MyCurator </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Customization and Integration Services </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;WordPress Multi-site Network Support </div>
        <div class="banner-button"  id="pricing" ><a href="<?php echo $site;?>/contact-us/">CONTACT US</a></div>

    </div>

    <?php
}

function tgtinfo_purchasebus() {
    $src = plugins_url('images/tick.png',__FILE__);
    $button = plugins_url('images/download-button.png',__FILE__);
    $site= site_url();
    ?>
    <div class="purchase-left">
    <h2>Enterprise Support and Consulting</h2>
    <p>Complete support for your Business Requirements</p>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Volume Discounts on Multiple Sites </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;White Label Version of MyCurator </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;Customization and Integration Services </div>
    <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />&nbsp;&nbsp;&nbsp;WordPress Multi-site Network Support </div>
        <div class="banner-button"  id="pricing" ><a href="<?php echo $site;?>/contact-us/">CONTACT US</a></div>

    </div>
    

    <?php
}

//Notebook version display
function tgtinfo_banner_nb() {
   $src = plugins_url('images/tick.png',__FILE__);
   $button = plugins_url('images/download-button.png',__FILE__);
      ?>
    <div class="line-divider"></div>
    <div class="banner"><div class="banner-content">
    <div class="banner-left">
    <h2>MyCurator Makes it Easier to Build Quality Content for Your Site</h2>
    <div class="selling-point">
        <p title="Integrated into WordPress to easily post curated articles with access to all of your theme and plugin options">
            <strong>Quickly curate content with great curation tools.</strong></p> 
        <p title="Notebooks are like Evernote, only integrated into your WordPress Editor">
            <strong>Article writing and complex curations are easier with our Notebooks for your research material.</strong></p>
        <p title="See how quick and easy it is to curate a new post and use our Notebooks">
            <strong>Review the short video to see MyCurator in action.</strong></p>
        <p title="No Credit Card needed to start, Free and Low priced plans available">
            <strong>Download and install the MyCurator plugin and try it now for free!</strong></p>
    </div>

    <div class="banner-button"><a href="http://downloads.wordpress.org/plugin/mycurator.zip"  onclick="_gaq.push(['_trackEvent', 'Download', 'home']);"><img src="<?php echo $button;?>" width="296" height="53" alt="download" /></a></div>
     </div>
    <div class="banner-right">
    <iframe width="420" height="315" src="//www.youtube.com/embed/rlPwJY5ZI4M?rel=0" frameborder="0" allowfullscreen></iframe>
    </div>
    </div></div>
    <div class="line-divider"></div>

      <?php    
}

function tgtinfo_feature_nb() {
    $button = plugins_url('images/download-button.png',__FILE__);
      ?>
    <div class="features-nb"> 
    <h3>MyCurator Supports You from Content Curation to Writing Original Articles</h3>
    <div class="feature-nb one">
    <p id="curation"><strong>Quickly build content for your site with great content curation tools.</strong></p>
    <ul>
        <li>MyCurator discovers interesting, usable content throughout the day, inspiring you to regularly curate new posts.</li>
        <li>Click-to-copy from the full article text and images right in the Wordpress editor.</li>
        <li>GetIt bookmarklet captures content you find on the web for later curation or right to a draft post.</li>
        <li> Customize to your specific niche by choosing what sources to read and what to look for in each article.</li>
        <li>Train MyCurator's Relevance engine for even more accuracy.</li>
    </ul>
    </div>

    <div class="feature-nb two">
    <p id="notebook"><strong>Save the best articles to Notebooks for complex curations & content writing research.</strong></p>
    <ul>
        <li>Notebooks are like Evernote, only integrated into your WordPress editor.</li>
        <li>Multi article curation let's you easily build weekly roundups, list posts and point-counterpoint curation.</li>
        <li>Notebooks let you research ideas and save related articles, both from MyCurator's automated discovery and your web explorations.</li>
        <li>Click-to-copy from the full article text and images of all of your notebook articles to easily quote from your 'sources' with attribution.</li>
    </ul>
    </div>

    <div class="feature-nb three">
    <p id="features"><strong>Additional MyCurator features support a wide range of specialized content curation needs.</strong></p>
    <ul>
        <li>Easily handle 100's of articles a day and multiple writers, categories and sites with Quick post and bulk curation tools.</li>
        <li>Supports sites in any language with an ability to find, filter and classify articles in your native language.</li>
        <li>Special video curation features to search for videos and automatically format them into a post.</li>
        <li>Customize to your specific niche by choosing what sources to read and what to look for in each article.</li>
        <li>Selective Auto-Post capability uses AI process to deliver highly targeted, quality articles to your community for tightly focused niche sites.</li>
    </ul>
    </div>
<?php /*
    <div class="feature-nb four">
    <p id="last"><strong>Easily post content to your site on a regular basis with MyCurator</strong></p>
    <ul>
        <li>Content is the best and safest way to build your search engine rankings</li>
        <li>Content gives your prospects & clients a reason to return to your site</li>
        <li>Curated content can reinforce your authority and give your visitors more reasons to subscribe to your blog</li>
        <li><strong>Get Started by downloading and installing the MyCurator plugin Now!</strong></li>
    </ul>
    </div>
 */ ?>
     </div>
<?php 
/*
    <div class="page-divider"></div>

    <div class="cat-intro">Sign up for your API Key after you install - No risk free and trial plans with no credit card needed</div>
    <div class="bottom-cat"><a href="http://downloads.wordpress.org/plugin/mycurator.zip"  onclick="_gaq.push(['_trackEvent', 'Download', 'home']);"><img src="<?php echo $button;?>" width="296" height="53" alt="Download" /></a></div>
*/   
}

function tgtinfo_usecase() {
      ?>
    <div class="usecase"><div class="usecase-content">
        <h2>How will Content Curation Help You?</h2>
        <div class="usecase-content-left">
            <div class="usecase-line one">
                <p title="I'm a Small or Medium size Business">
                    <a href="http://www.target-info.com/how-does-content-curation-get-my-small-business-found-on-the-web/" 
                       onclick="_gaq.push(['_trackEvent', 'Media', 'business']);">
                        <strong>Get my Business Found on the Web</strong></p></a>
            </div>
            <div class="usecase-line two">
                <p title="I'm a Blogger or New Media Site">
                    <a href="http://www.target-info.com/content-curation-help-blog-grow/" 
                       onclick="_gaq.push(['_trackEvent', 'Media', 'blog']);">
                        <strong>Grow my Blog</strong></p></a>
            </div>   
        </div>
        <div class="usecase-content-right">
            <div class="usecase-line four">
                <p title="I'm a Marketing or Web Development Agency">
                    <a href="http://www.target-info.com/keep-clients-new-website-growing-fresh-content/" 
                       onclick="_gaq.push(['_trackEvent', 'Media', 'webdev']);">
                        <strong>Help my Clients Easily Add Content to Their Site</strong></p></a>
            </div> 
            <div class="usecase-line three">
                <p title="I'm Building an Ecommerce Empire">
                    <a href="http://www.target-info.com/how-will-content-curation-grow-my-ecommerce-site/" 
                       onclick="_gaq.push(['_trackEvent', 'Media', 'ecomm']);">
                        <strong>Build Traffic to my Ecommerce Site</strong></p></a>
            </div>
              
        </div>
    </div>
    </div>
      <?php    
}

function tgtinfo_bloghdr() {
    if (is_single()) {
       // return;
    }  
    ?>
    <div class="bloghdr"><div class="bloghdr-content">
        <div class="bloghdr-left">
            <h3><a href="http://www.target-info.com/category/articles/">
                   Articles on How Content Curation can Help Your Web Presence</a></h3>
            <div class="selling-point">Some selected articles:</div>
            <?php
            $src = plugins_url('images/tick.png',__FILE__);
            $cat = get_cat_ID('Articles');
            $args = array( 'numberposts' => 3, 'orderby' => 'rand', 'category' => $cat );
            $rand_posts = get_posts( $args );
            foreach( $rand_posts as $post ) { 
                $title = get_the_title($post->ID);
                if (strlen($title) > 45) $title = substr($title,0,42).'...';?>
                <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />
                    <a href="<?php echo get_permalink($post->ID); ?>"><?php echo $title; ?></a></div>
            <?php } ?>
            <p><a href="http://www.target-info.com/category/articles/">Browse All Articles...</a></p>
        </div>
         <div class="bloghdr-center">
            <h3><a href="http://www.target-info.com/category/how-to/">How To Articles</a> and 
                <a href="http://www.target-info.com/category/mycurator/">MyCurator Releases</a></h3>
            <div class="selling-point">How To Topics:</div>
            <?php
            wp_tag_cloud('smallest=8&largest=22');
             ?>
            <p><a href="http://www.target-info.com/category/how-to/">Browse All How To Articles...</a></p>
        </div>
        <div class="bloghdr-right">
            <h3><a href="http://www.target-info.com/category/content-curation/">
                   Best Content Curation Articles from the Web</a></h3>
            <div class="selling-point">Some selected articles:</div>
            <?php
            $src = plugins_url('images/tick.png',__FILE__);
            $cat = get_cat_ID('Content Curation');
            $args = array( 'numberposts' => 3, 'orderby' => 'rand', 'category' => $cat );
            $rand_posts = get_posts( $args );
            foreach( $rand_posts as $post ) { 
                $title = get_the_title($post->ID);
                if (strlen($title) > 45) $title = substr($title,0,42).'...';?>
                <div class="selling-point"><img src="<?php echo $src;?>" width="13" height="10" alt="tick" />
                    <a href="<?php echo get_permalink($post->ID); ?>"><?php echo $title; ?></a></div>
            <?php } ?>
            <p><a href="http://www.target-info.com/category/content-curation/">Browse All Articles...</a></p>
        </div>
    </div>
    </div>
      <?php    
}